CC := gcc
RM := rm -f
CFLAGS :=-lcurses -o  

OBJ := msg
OBJS := Msg_UI.o Msg_main.o

.PHONY:all clean
%.o : %.c
	$(CC) $< -c $(CFLAGS) $@

all : $(OBJS)
	$(CC) $^ $(CFLAGS) $(OBJ)

clean:
	$(RM) ./*.o $(OBJ)
